package com.bbva.kyfb.kyfbdto.firmas.fachada.v01;

import java.io.Serializable;
import java.util.ArrayList;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * The Class InfoOrdenes.
 *
 * @author xe35008
 * @version 1.0
 */
@XmlRootElement
public class InfoOrdenes implements Serializable{
	
	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 1L;

	/** Lista de ordenes */
	private ArrayList<InfoOrden> infoOrden;

	/**
	 * Instantiates a new info orden
	 */
	public InfoOrdenes() {

		infoOrden = new ArrayList<InfoOrden>();
	}

	/**
	 * Gets the info orden
	 *
	 * @return the infoOrden
	 */
	@NotNull
	@Size(min=1)
	public ArrayList<InfoOrden> getInfoOrden() {
		return infoOrden;
	}

	/**
	 * Sets the info orden files.
	 *
	 * @param infoOrden the infoOrden to set
	 */
	public void setInfoOrden(ArrayList<InfoOrden> infoOrden) {
		this.infoOrden = infoOrden;
	}
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "InfoOrdenes [infoUserReferenceUpdate=" + infoOrden +"]";
	}

}
